<template>
    <div class="box">
        <!-- logo -->
        <div class="login_title">
            欢迎登录小U商城
        </div>
        <img class="login_logo" src="../../assets/img/logo/orange.png" />
        <van-button color="#ff6034" class="login_but" @click="register">账号密码登录</van-button>
        <div class="login_text" @click="smsLogin">手机号短信登录</div>
    </div>
</template>

<script>

export default {
    data() {
        return {
        }
    },
    onLoad() { },
    methods: {
        register() {
            this.$router.push('/formlogin')
        },
        smsLogin() {
            this.$router.push("/smslogin")
        }
    }
}
</script>

<style lang="less" scoped>
@import "../../assets/less/login.less";
</style>
